package com.xyh.student.entity;

import java.util.Arrays;

public class Question {
    private Integer qid;
    private String details;
    private Integer type;
    private Integer difficulty;
    private String answer;
    private Integer source;
    private Integer lid;
    private Integer score;
    private Option option;
    private String[] op;

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String[] getOp() {
        return op;
    }

    public void setOp(String[] op) {
        this.op = op;
    }

    public Option getOption() {
        return option;
    }

    public void setOption(Option option) {
        this.option = option;
    }

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Integer difficulty) {
        this.difficulty = difficulty;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }
    @Override
    public String toString() {
        return "Question [answer=" + answer + ", details=" + details + ", difficulty=" + difficulty + ", lid=" + lid
                + ", op=" + Arrays.toString(op) + ", option=" + option + ", qid=" + qid + ", score=" + score
                + ", source=" + source + ", type=" + type + "]";
    }
    
}
